package com.goldgov.code.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.goldgov.code.dao.LogDao;
import com.goldgov.code.service.Log;
import com.goldgov.code.service.LogService;

@Service
public class LogServiceImpl implements LogService{

	@Autowired
	private LogDao logDao;
	
	@Override
	public void addLog(Log log) {
		logDao.addLog(log);
	}

	@Override
	public void listLog(String logType, int firstIndex, int maxRows) {
		logDao.listLog(logType, firstIndex, maxRows);
	}

}
